﻿using STHPMS1.ICore.I_Entity.PageModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.Common.C_Entity.PageModel
{
    public class ComparePlanModel:IComparePlanModel
    {
        public string Proj_Id { get; set; }
        public string Mainsegid { get; set; }
        public double Discou_Rate { get; set; }
        public double Residu_Value { get; set; }

        public PlanModel[] plans { get; set; }

        public IEnumerable<IPlanModel> planArray
        {
            get
            {
                return plans;
            }
        }
    }

    public class PlanModel : IPlanModel
    {
        public string Meas_Name { get; set; }
        public string Iniproj_Id { get; set; }
        public int Analy_Period { get; set; }

        public PlanYearModel[] ret { get; set; }


        public IEnumerable<IPlanYearModel> retArray
        {
            get
            {
                return ret;
            }
        }
    }

    public class PlanYearModel : IPlanYearModel
    {
        public int type { get; set; }
        public int year { get; set; }
    }
}
